package org.mygreencart.entities

class ProductCategory {
   String name;

   static hasMancy  = [products:Product, subCategories: ProductCategory, categoryDescriptions: ProductCategoryDescription]
   static belongsTo = [parent: ProductCategory]
   static constraints = {parent(nullable:true)}
}
